from core.database.models.playlist import Playlist

def test_add_song():
    playlist = Playlist(name="Test")
    playlist.add_song("song1")
    assert len(playlist.songs) == 1
    assert playlist.songs[0] == "song1"